<?php
  class pager{
    static function render($page = 0, $total = 0, $dir = '', $display = 10){
      $html = '<div class="pager"><a href="#">prev</a> <span>'.($page + 1).'</span> <a href="#">next</a></div>';
      return $html;
    }
  }